#
# Amlogic NAND device configuration
#

menu "Meson NAND Device Support"

config AM_NAND
	bool "Meson NAND flash device"
	default n
	select MTD_NAND
	select MTD_PARTITIONS
	select MTD_BLOCK
	select MTD_CHAR
	select MTD
	help
	  Support for NAND flash on Amlogic Meson platforms

config AM_NAND_RBPIN
	bool "Meson NAND RB bit support"
	depends on AM_NAND
	depends on ARCH_MESON3 || ARCH_MESON6
	default y
	help
	  Support NAND RB bit

config AML_NAND_ENV
	bool "Meson NAND environment variable device (dev/nand_env) support"
	depends on AM_NAND
	depends on ARCH_MESON3 || ARCH_MESON6
	default y
	help
	  Support NAND environment variable device

config AML_NFTL
	tristate "Meson NAND FTL support"
	depends on AM_NAND
	default m
	help
	  Support NAND Flash Translation Layer

endmenu
